package com.zlt.annotation;

import org.springframework.transaction.TransactionDefinition;

import java.lang.annotation.*;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Transactional {

    int propagation() default TransactionDefinition.PROPAGATION_REQUIRED;
}
